<?php
class Default_Model_News extends Zend_Db_Table_Abstract
{
	protected $_name='tintuc';
	public function getNews() //Doi tuong mang chua thong tin ve cac bai viet trong table tintuc
	{
		$row=$this->fetchAll();
		return $row;
	}
	public function ContentID($id) //Hien thi noi dung tung bai viet trong table tintuc (Khi ta click link de getID content)
	{
		$row=$this->fetchAll('idTin='.$id);
		return $row;
	}
}